package com.cskaoyan.wx.vo;

import lombok.Data;

import java.util.Date;

@Data
public class WxIfo {

    /**
     * userInfo : {"nickName":"test1","avatarUrl":"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80"}
     * tokenExpire : 2021-05-13T09:57:25.162
     * token : dbxqnbirh7mlshsmvcgg8vcodbh8my1j
     */

    private UserInfoBean userInfo;
    private Date tokenExpire;
    private String token;

    public UserInfoBean getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfoBean userInfo) {
        this.userInfo = userInfo;
    }


    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public static class UserInfoBean {
        /**
         * nickName : test1
         * avatarUrl : https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80
         */

        private String nickName;
        private String avatarUrl;

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getAvatarUrl() {
            return avatarUrl;
        }

        public void setAvatarUrl(String avatarUrl) {
            this.avatarUrl = avatarUrl;
        }
    }
}
